let input = document.querySelectorAll('input')

let label = document.querySelectorAll('.form_label ')

function inputFocus(e) {
    let label = e.parentNode.previousElementSibling
    label.classList.add('focus')
    for (let i = 0; i < label.children.length; i++) {
        label.children[i].style = `transition-delay: ${i*50}ms;`
    }
}

function inputBlur(e) {
    let label = e.parentNode.previousElementSibling
    label.classList.remove('focus')
}